/*
 * DeviceSwitch.h
 *
 * Created on: $(date:yyyy-MM-dd)
 * Author: $(user)
 */

#ifndef DeviceSwitch_H
#define DeviceSwitch_H

#include "Device.hpp"
#include "common.h"

class DeviceSwitch :  public Device<int> {
public:
    string deviceName;
    string deviceType;
    
    void func(int& data) ;

    using Device<int>::Device;
    ~DeviceSwitch();
    
    // 禁止拷贝
    DeviceSwitch(const DeviceSwitch&) = delete;
    DeviceSwitch& operator=(const DeviceSwitch&) = delete;
};

#endif // DeviceSwitch_H